forum

home / developersection / forums / setting a variable name as a type

Setting a variable name as a type

Anonymous User 2032 23-Dec-2013

I am deserializing a json object from a third party API. One of the Objects properties is a variable called "checked". In c#.net 'checked' is a type. Is there anyway to overcome this.

Im using Newtonsoft Json.net to do the deserializing.

Nothing special about the class,

public class item{

  public bool checked;

}


c# c# 
Updated on 23-Dec-2013

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By